#ifndef DSPSIMULATOR_INSTRUCTION_SPKERNELR_H
#define DSPSIMULATOR_INSTRUCTION_SPKERNELR_H

#include "dspSimulator/targetMachine/dspInstruction.h"

namespace dspsimulator {
    class SPKERNELR : public DspInstruction {
    public:
        explicit SPKERNELR(u64 address = 0, u32 size = 4) :
                DspInstruction("SPKERNELR", address, size) {}

        SPKERNELR(const SPKERNELR &) = default;

        SPKERNELR(SPKERNELR &&) = default;

        SPKERNELR &operator=(const SPKERNELR &) = default;

        SPKERNELR &operator=(SPKERNELR &&) = default;

        std::string to_string() const override { return m_name; }

        std::shared_ptr<Instruction> clone() const override { return std::make_shared<SPKERNELR>(*this); }

    protected:
        std::shared_ptr<DspInstruction>
        decode_standard_instruction(const std::shared_ptr<DspInstructionInfo> &dsp_instruction_info) override;
    };
}

#endif //DSPSIMULATOR_INSTRUCTION_SPKERNELR_H
